package com.xmy.erp.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 转帐帐号信息
 * </p>
 *
 * @author hpiggy
 * @since 2023-09-09
 */
@TableName("order_pay_account")
@ApiModel(value = "OrderPayAccount对象", description = "转帐帐号信息")
public class OrderPayAccount implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private Long orderId;

    @ApiModelProperty("实收金额")
    private BigDecimal price;

    @ApiModelProperty("帐号类型")
    private Integer accounType;

    @ApiModelProperty("帐号类型名，如支付宝、微信，转帐")
    private String accountTypeName;

    private Integer version;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }
    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }
    public Integer getAccounType() {
        return accounType;
    }

    public void setAccounType(Integer accounType) {
        this.accounType = accounType;
    }
    public String getAccountTypeName() {
        return accountTypeName;
    }

    public void setAccountTypeName(String accountTypeName) {
        this.accountTypeName = accountTypeName;
    }
    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    @Override
    public String toString() {
        return "OrderPayAccount{" +
            "id=" + id +
            ", orderId=" + orderId +
            ", price=" + price +
            ", accounType=" + accounType +
            ", accountTypeName=" + accountTypeName +
            ", version=" + version +
        "}";
    }
}
